package com.lzxuni.modules.qualityAssurance.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import com.lzxuni.modules.dataAcquisition.entity.ProductIndex;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 产品抽检-产品指标关联表
 * </p>
 *
 * @author wzx
 * @since 2019-07-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("base_product_sampling_index")
public class ProductSamplingIndex implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId
    private String samplingIndexId;

    /**
     * 产品抽检id
     */
    private String samplingId;

    /**
     * 产品指标id
     */
    private String productIndexId;

    @TableField(exist = false)
    private ProductIndex productIndex;
}
